package com.example.mypassword.exception;


import com.example.mypassword.bean.Result;

public class MpException extends RuntimeException {
    public MpException(Throwable cause) {
        super(cause);
    }

    public MpException(String message) {
        super(message);
    }

    public MpException(String message, Throwable cause) {
        super(message, cause);
    }

    public Result getResult() {
        return Result.resultFail(getMessage());
    }
}
